{include file='common/header'}

{include file='common/top'}
{include file='common/left'}


<div class="page-content">
  <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
    <ul class="layui-tab-title">
      <li class="home">
        <i class="layui-icon">&#xe68e;</i>控制台</li></ul>
    <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
      <dl>
        <dd data-type="this">关闭当前</dd>
        <dd data-type="other">关闭其它</dd>
        <dd data-type="all">关闭全部</dd></dl>
    </div>
    <div class="layui-tab-content">
      <div class="layui-tab-item layui-show">
        <iframe src="{:url('main')}" frameborder="0" scrolling="yes" class="x-iframe"></iframe>
      </div>
    </div>
    <div id="tab_show"></div>
  </div>
</div>
<div class="page-content-bg"></div>
<style id="theme_style"></style>

{include file='common/footer'}
<script>
$('#cache').click(function () {
    document.cookie="skin=;expires="+new Date().toGMTString();
    layer.confirm('确认要清除缓存？', {icon: 3}, function () {
        $.post('{:url('clear')}',function (data) {
          var json = JSON.parse(data);
            layer.msg(json.info, {icon: 6}, function (index) {
                layer.close(index);
                window.location.reload();
            });
        });
    });
});
</script>